@import "const";

%reset-margin-padding {
    margin: 0;
    padding: 0;
}

html, body {
    font-family: "DejaVu Mono", Avenir, Helvetica, Arial, sans-serif, "PingFang SC", "微软雅黑";
    font-size: $fontSize;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    width: 100%;
    height: 100%;

    overflow: hidden;
    user-select: none;
}

html, body, p, div, ul, li, hr {
    box-sizing: content-box;
    @extend %reset-margin-padding;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    &:visited {
        text-decoration: none;
    }

    &:hover {
        text-decoration: none;
    }
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    // border-radius: 5px;
    // -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #5353532c;
}

::-webkit-scrollbar-track {/*滚动条里面轨道*/
    // -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #ededed3d;
}